package top.csjss.service;

import com.github.pagehelper.PageInfo;
import top.csjss.domain.Users;

import java.util.List;

/**
 * @Author ztf
 * @Date 17:29 2021/10/7
 **/

public interface UserService {
    public List<Users> login(String username,String password);
    PageInfo<Users> selectAllUsers(Integer pageNum, Integer pageSize);
    PageInfo<Users> selectByUserName(Integer pageNum,Integer pageSize,String username);
    void updatePwd(Integer uid,String oldPwd,String newPwd);
}
